package org.fqh.system.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
* @author fqh 
* @version 创建时间：2017年11月29日 下午2:44:12
* 类说明
*/
public class TSysUser implements Serializable {
	
	

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	
	private int id;
	private String username ; 
	private String email ; 
	private String password; 
	private Date registtime;
	private int locked;
	private String salt;
    private List<TSysRole> roleList;
    private List<TSysResource> resourceList;
    
 
 
	public List<TSysRole> getRoleList() {
		return roleList;
	}

	public void setRoleList(List<TSysRole> roleList) {
		this.roleList = roleList;
	}

	public List<TSysResource> getResourceList() {
		return resourceList;
	}

	public void setResourceList(List<TSysResource> resourceList) {
		this.resourceList = resourceList;
	}

	public TSysUser() {
		super();
	}
 
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getRegisttime() {
		return registtime;
	}
	public void setRegisttime(Date registtime) {
		this.registtime = registtime;
	}
	public int getLocked() {
		return locked;
	}

	public void setLocked(int locked) {
		this.locked = locked;
	}

	public String getSalt() {
		return salt;
	}

	public void setSalt(String salt) {
		this.salt = salt;
	}
}
